<style>
.fui-goods-item .image {
    height: 7rem;
    width: 10rem;
}
.fui-goods-group {
    padding:0.3rem
}
.timer {
    font-size: .6rem;
    height: .95rem;
    color: #ef4f4f;
}
.timer span {
    display: inline-block;
    background:#582e19;
    color:#fff;
    width:.9rem;height:.9rem;
    border-radius: .1rem;
    line-height:.9rem;
    font-size:.5rem; text-align: center;
}
.label-info {
	background-color:#d9f9ee;
	color:#03c274;
	padding: .2em .4em .2em;
}
</style>
	<div ng-if="!loading && pagedata.list.length>0" class="fui-goods-group no">
			<div ng-repeat="item in pagedata.list" class="fui-goods-item" style="padding:0;margin:0.3rem;border: 0px solid #e7e7e7;">
				<div ng-click="access_json(item.url);" class="image" style="height:5rem;background-image: url({{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}})">
				</div>
				<div class="detail" style="height:2.6rem;padding-left:0.3rem;padding-top:0.2rem">
					<div class="overflow-h2" style="width:9.6rem">
							{{item.title}}
					</div>
					<div class="subtitle">
						<span class="label label-info">{{item.grouptitle || '无'}}</span>
						<span class="label label-info">{{item.plugintitle || '无'}}</span>
					</div>
					<div class="price" style="position:absolute;margin-top: 0.5rem;bottom:0.2rem;width:9.6rem">
						<span class="text" style="padding-top:0.5rem;"><span class="subtitle" style="font-weight:400;padding-left:0.2rem;font-size:0.6rem">累计领取{{item.isnum || 0}}次</span></span>
						<span class=" fui-buys-info r-f">
							<span href="javascript:" ng-click="pagedata.upfangan(item);" class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">了解详情</span>
						</span>
					</div>
				</div>
			</div>
	</div>
	<div ng-show="loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
<script>
scope.tool.get_list('jy_quanhuo/get_data/getfangan/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_quanhuo/get_data/getfangan/');
}
//获取关注
scope.pagedata.upfangan=function(item){
	scope.post_json('jy_quanhuo/index/upfangan/',{'id':item.id},function(res){
		scope.access_json(item.url);
	});
}
</script>
